package com.internetCafes.spms.web.customer.service.customer;

import com.baomidou.mybatisplus.extension.service.IService;
import com.internetCafes.spms.web.customer.entity.customer.CustomerFollow;

import java.util.List;

/**
 * <p>
 * 客户更进日志表 服务类
 * </p>
 *
 * @author Zj
 * @since 2021-10-20
 */
public interface ICustomerFollowService extends IService<CustomerFollow> {

    /**
     * 获取最新跟进记录
     *
     * @param customerIdList 客户id列表
     * @return 跟进记录列表
     */
    List<CustomerFollow> selectLastFollowList(List<Long> customerIdList);

    /**
     * 删除通过客户id列表
     *
     * @param customerIdList 客户id列表
     * @return true/false
     */
    boolean removeByCustomerIdList(List<Long> customerIdList);

}
